package main

import "fmt"

func main() {
	a01 := 1
	for a01 <= 5 {
		fmt.Println(a01)
		a01++
	}

	for i := 1; i <= 5; i++ {
		fmt.Println(i)
	}

	var i01 int = 1
	for {
		if i01 > 5 {
			break
		}
		fmt.Printf("hello, %d\n", i01)
		i01++
	}

	myarr := [...]string{"world", "python", "go"}
	for _, item := range myarr {
		fmt.Printf("hello, %s\n", item)
	}
	for i := range myarr {
		fmt.Printf("hello, %v\n", i)
	}
}
